<div class="aside">
    <div class="aside-logo">
        <img src="/Extend/images/logo/manage-logo.svg">
    </div>
    <ul class="nav">
        <li>
            <div class="nav-main" id="nav-main1">
                <img class="nav-triangle" src="/Extend/images/aside-icon/aside-triangle.svg">
                <div class="nav-icon">
                    <img class="nav-icon-img" src="/Extend/images/aside-icon/manageBuilding.svg">
                </div>
                <div class="nav-font">楼盘管理</div>
            </div>
            <ul class="nav-child">
               <li data-company="fj" {eq name="$data.company" value="fj" } class="nav-child-active" {/eq}>房金时代({$count[0]})</li>
               <li data-company="lz" {eq name="$data.company" value="lz" } class="nav-child-active" {/eq}>罗宅网络({$count[4]})</li>
               <li data-company="th" {eq name="$data.company" value="th" } class="nav-child-active" {/eq}>领郡置业({$count[7]})</li>
               <li data-company="hc" {eq name="$data.company" value="hc" } class="nav-child-active" {/eq}>回车网络({$count[8]})</li>
            </ul>
        </li>
        <li>
            <div class="nav-main" id="nav-main2">
                <img class="nav-triangle" src="/Extend/images/aside-icon/aside-triangle.svg">
                <div class="nav-icon">
                    <img class="nav-icon-img" src="/Extend/images/aside-icon/manageBuilding.svg">
                </div>
                <div class="nav-font">楼盘上传</div>
            </div>
        </li>
    </ul>
</div>
<script>
    $(function(){
        $("#nav-main1").click(function(){
            window.location.href='/manage/index/index?key=&mark=qb&company=fj';
        })
        $("#nav-main2").click(function(){
            window.location.href='/manage/index/inserts';
        })
    })
    // 注销
    function logout() {
        window.location.href='/manage/user/logout'
    }
</script>
<style>
    /*侧边 strat*/
    .aside{

    }
    .aside-logo{
        width: 140px;
        height: 65px;
        margin: 55px auto 55px auto;
    }
    .aside-logo>img{
        width: 100%;
        height:100%;
    }
    .nav>li{
        width: 100%;
        /*height: 45px;*/
        line-height: 45px;
        color: #666;
        cursor: pointer;
        position: relative;
    }
    .nav>li>a{
        display: block;
        width: 100%;
        height: 45px;
        line-height: 45px;
        color: #666;
        cursor: pointer;
        position: relative;
    }
    .nav-main{
        width: 188px;
        height: 45px;
        position: relative;
    }
    .nav-child{
        clear: both;
    }
    .nav-child>li{
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        padding-left: 53px;
    }
    .nav-child-active{
        background: #f3f3f3!important;
    }


    .nav-triangle{
        width: 8px;
        height: 8px;
        position: absolute;
        top: -7px;
        right:0px;
        display: none;
    }
    .nav-icon{
        width: 23px;
        height: 23px;
        margin: 11px 9px 0px 20px;
        float: left;
    }
    .nav-icon>img{
        width: 100%;
        height:100%;
    }
    .nav-font{
        float: left;
        font-size: 15px;
    }
    .nav-active{
        color: #fff!important;
        background: #A92E39;
    }
    /*侧边end*/
</style>

